import * as Joi from '@hapi/joi';
export const configVaildationSchema = Joi.object({
  SERVICE_PORT: Joi.number().default(3000).required(),
  STAGE: Joi.string().required(),
  DB_TYPE: Joi.string().required(),
  DB_PORT: Joi.number().default(5432).required(),
  DB_HOST: Joi.string().default('localhost').required(),
  DB_USER_NAME: Joi.string().required(),
  DB_USER_PASSWORD: Joi.string().required(),
  DB_LOGGING: Joi.string().required().default('all'),
  DB_NAME: Joi.string().required(),
  JWT_SECRET: Joi.string().required(),
  JWT_EXPIRES_IN: Joi.number().default(3600).required(),
});
